package com.gtq.uhome.mapper;

import com.gtq.uhome.pojo.User;
import com.gtq.uhome.vo.ConditionQueryVo;
import com.gtq.uhome.vo.DeliveryDetailsVo;
import com.gtq.uhome.vo.MyApplicationVo;

import java.util.List;

public interface UserMapper {

    /**
     * 修改用户全部信息
     * @return
     */
    Integer update(User user);

    /**
     * 修改用户名
     * @return
     */
    Integer updateDeliveryDetailsVo(DeliveryDetailsVo deliveryDetailsVo);

    //我的申请:查询我的订单成功/失败/待审核
    List<MyApplicationVo> selectMyApplication(ConditionQueryVo conditionQuery);


}